package com.cn.jinl.api;

import com.cn.jinl.domain.SysItem;
import com.cn.jinl.utils.QueryForm;

import java.util.List;
import java.util.Map;

public interface ISysItemService {

    List<SysItem> getMgItemList(QueryForm queryForm)throws Exception;

    List<SysItem> getMgItemSelect(QueryForm queryForm)throws Exception;

    List<SysItem> getMgItemByType(String type)throws Exception;

    List<SysItem> getAllMgItemList()throws Exception;


    List<SysItem> getConcatUsers()throws Exception;

    Map<String,String> getMgItemNameMap(QueryForm queryForm)throws Exception;

    String addMgItemDetail(SysItem mgItem) throws Exception;

    String getMgItemDefaultValue(SysItem mgItem) throws Exception;

    int countMgItemByName(String name, String type, String id) throws Exception;

    int countMgItemByCode(String name, String type, String id) throws Exception;

    String updateMgItemDetail(SysItem mgItem) throws Exception;

    String updateMgItemCodeDetail(SysItem mgItem) throws Exception;

    String updateMgItemValue(SysItem mgItem) throws Exception;

    String deleteMgItemDetail(QueryForm queryForm) throws Exception;

    SysItem getSysItemInfoById(String id)throws Exception;

    String addSysItemByNotRepeat(SysItem mgItem)throws Exception;

    List<SysItem> getMgItemSelectByType(String type)throws Exception;

    Map<String, List<SysItem>> getCategoryMap() throws Exception;

    String addMgItemCodeDetail(SysItem mgItem) throws Exception;
}
